/**
   @file disk.h
   @brief Protytpes and types to use the disk workload generator.
 */

#ifndef WG_DISK_GENERATOR_HEADER
#define WG_DISK_GENERATOR_HEADER

#include "resource_model.h"
#include "cJSON.h"

typedef struct disk_state disk_state;

/** Setup the disk workload generator for use. */
resource_model *setup_disk(cJSON *);

struct disk_state {
  char *filepath; /** The file's name. */
  int fd; /** An open file descriptor.*/
};

#endif
